package javabase.desginpattern.behavior.observer.pull;

/**
 * @author fance
 * @date 18-4-26 下午4:07
 */
public class ConcreteSubject    extends AbstractSubject {


    @Override
    public void setSubjectState(String subjectState) {
        System.out.println("主题状态为: " + subjectState);
        super. setSubjectState(subjectState);

        this.notifyObservers();
    }
}
